<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table border="1px">
        <caption>课程表</caption>
        <tr>
<!--            th标签的内容默认是居中的,加粗的-->
            <th>序号</th>
            <th>课程名称</th>
            <th>课程内容</th>
        </tr>
        <tr>
            <td>1</td>
            <td>java</td>
            <td>企业级开发</td>
        </tr>
        <tr>
            <td>2</td>
            <td>python</td>
            <td>人工智能</td>
        </tr>
        <tr>
            <td>3</td>
            <td>golang</td>
            <td>高并发开发</td>
        </tr>
    </table>

<!--快速生成表格-->
    table>tr>td*4
    <table border="1px">
        <tr>
            <td>1-1</td>
            <td>1-2</td>
            <td>1-3</td>
            <td>1-4</td>
        </tr>
        <tr>
            <td colspan="2">2-1</td>
<!--            <td>2-2</td>-->
            <td>2-3</td>
            <td rowspan="3">2-4</td>
        </tr>
        <tr>
            <td>3-1</td>
            <td>3-2</td>
<!--            <td>3-3</td>-->
            <td>3-4</td>
        </tr>
        <tr>
            <td>4-1</td>
            <td>4-2</td>
            <td>4-3</td>
<!--            <td>4-4</td>-->
    </tr>
    </table>

    <hr>
    <table border="1px"  style="border-collapse: collapse;">
        <caption>商品列表</caption>
        <tr>
            <th>商品编号</th>
            <th>商品名称</th>
            <th>商品价格</th>
        </tr>
        <tr>
            <td>1</td>
            <td>小米Air平板</td>
            <td>5888</td>
        </tr>
        <tr>
            <td>2</td>
            <td>华为三折叠手机</td>
            <td>14222</td>
        </tr>
        <tr>
            <td>总价:</td>
            <td colspan="2">20000</td>
        </tr>
    </table>
</body>
</html>